﻿<Controls:MetroWindow x:Class="EmailClient.View.SettingsView"
    xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        xmlns:UserControls="clr-namespace:EmailClient.UserControls"
        xmlns:xcad="http://schemas.xceed.com/wpf/xaml/avalondock"         
        EnableDWMDropShadow="True"
        ResizeMode="CanResizeWithGrip"
        WindowTransitionsEnabled="False"
        WindowStartupLocation="CenterScreen"
        Title="{DynamicResource SettingsTitle}" Height="480" Width="640">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>

        <TabControl Grid.Column="0" Grid.Row="1">
            <!--<TabItem Header="Общее">
            </TabItem>-->
            <TabItem Header="{DynamicResource SettingsAccountsTabItem}">
                <UserControls:AccountsList x:Name="ucAccountsList" AddAccountPress="AddAccountPress" EditAccountPress="EditAccountPress" DelAccountPress="DelAccountPress" Accounts_MouseDoubleClick="Accounts_MouseDoubleClick"></UserControls:AccountsList>
            </TabItem>
        </TabControl>
    </Grid>
</Controls:MetroWindow>
